﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminLogin.aspx.cs" Inherits="adminpages_AdminLogin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>Enviroment Survey</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />

    <link href="../styles.css" rel="Stylesheet" type="text/css" />

    <link rel="icon" href="../favicon.ico" type="image/x-icon" />
    <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
    <style type="text/css">
        #left ul {
            list-style: none;
            border: 1px solid #629351;
            padding: 10px;
            margin: 5px;
        }

        .auto-style1 {
            width: 100px;
            text-align: right;
        }

        .auto-style2 {
            width: 200px;
        }

        .auto-style3 {
            color: #FF0000;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div id="content">
            <div id="back_all">

                <div id="header">
                    <div id="logo">
                    </div>
                    <h2 style="text-align: center">Admin Page</h2>
                </div>

                <div id="main">
                    <div id="right">
                        <h2 style="padding-left: 180px">Login</h2>
                        <br />
                        <table style="width: 100%">
                            <tr>
                                <td class="auto-style1">Username:</td>
                                <td class="auto-style2">
                                    <asp:TextBox ID="txtUsername" runat="server" Width="140px"></asp:TextBox>
                                    <strong style="padding-right:0">
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" CssClass="auto-style3" ErrorMessage="(*)" ControlToValidate="txtUsername"></asp:RequiredFieldValidator>
                                    </strong>
                                </td>
                                <td></td>
                            </tr>
                            <tr>
                                <td class="auto-style1">Password:</td>
                                <td class="auto-style2">
                                    <asp:TextBox ID="txtPassword" runat="server" Width="140px" TextMode="Password"></asp:TextBox>
                                    <strong>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" CssClass="auto-style3" ErrorMessage="(*)" ControlToValidate="txtPassword"></asp:RequiredFieldValidator>
                                    </strong>
                                </td>
                                <td></td>
                            </tr>
                            <tr>
                                <td class="auto-style1"></td>
                                <td class="auto-style2"></td>
                                <td></td>
                            </tr>
                            <tr>
                                <td class="auto-style1"></td>
                                <td class="auto-style2">
                                    <asp:Button ID="btnLogin" runat="server" Text="Login" OnClick="btnLogin_Click" />
                                </td>
                                <td></td>
                            </tr>
                            <tr>
                                <td class="auto-style1"></td>
                                <td class="auto-style2">
                                    <strong>
                                        <asp:Label ID="lblMsgLogin" runat="server" Text="" CssClass="auto-style3"></asp:Label>
                                    </strong>
                                </td>
                                <td></td>
                            </tr>
                        </table>
                    </div>

                </div>
            </div>
        </div>
        <div id="footer">
            <p>Copyright &copy; 2008.</p>
            <p>FPT_GC0807_Group 3</p>
        </div>
    </form>
</body>
</html>
